package com.example.mybatis.mapper;


import com.example.mybatis.bean.Details;
import com.example.mybatis.bean.SafetyEducation;
import com.example.mybatis.bean.StudentInformation;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface SafetyEducationMapper {

    int save(SafetyEducation safetyEducation);

    Double selectCountPercent();

    List<SafetyEducation> selectAll(String learningStyle);

    List<SafetyEducation> selectFinishPercent(Date month);

    List<Details> selectDetail( Integer detailsId);


    List<StudentInformation> selectStudent(Integer studentInformationId);

    List<SafetyEducation> selectAllApply();

    List<SafetyEducation> selectAchieve();
    Integer selectOnLineAll();
    Integer selectOnLineFinish();
    Integer selectSiteAll();

    Integer selectSiteFinish();
}
